package cn.lili.modules.order.order.service;

import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.order.order.entity.dos.RankingAwardDetails;
import cn.lili.modules.order.order.entity.dto.RankingAwardDetailsDTO;
import cn.lili.modules.system.entity.vo.Traces;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 排名奖品领取明细 服务类
 * </p>
 *
 * @author zhushiqing
 * @since 2023-12-21
 */
public interface IRankingAwardDetailsService extends IService<RankingAwardDetails> {

    void claimThePrize(RankingAwardDetails rankingAwardDetails);

    /**
     * 根据dto查询排名奖品领取明细
     * @param dto
     * @return
     */
    List<RankingAwardDetails> selectListByDto(RankingAwardDetailsDTO dto);

    /**
     * 根据用户id获取排名奖品物流记录
     * @param rankingAwardDetailsId
     * @return
     */
    ResultMessage<Object> getRankingAwardLogisticsById(String rankingAwardDetailsId, Integer queryFrom);

    /**
     * 给排名奖品明细添加运单号
     * @param dto
     * @return
     */
    ResultMessage<Object> addRankingAwardExpressInfo(RankingAwardDetailsDTO dto);


}
